package com.bootdo.friendcircle.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;




/**
 * 
 * 
 * @author lzy
 * @email 1992lcg@163.com
 * @date 2018-06-08 17:50:54
 */
public class FriendCircleMessageDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//朋友圈消息主键
	private Integer id;
	//用户id
	private Long userId;
	//消息内容
	private String content;
	//朋友圈位置
	private String location;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date addTime;
	//点赞数
	private Integer likeCount;
	
	//朋友圈图片
	private ArrayList<MessagePicDO>  picUrls;
	//朋友圈评论
    private ArrayList<FriendCircleCommentDO>  comments;
    //评论数量
    private int  cnums;
    
    private String timeBefore;

	/**
	 * 设置：朋友圈消息主键
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：朋友圈消息主键
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：消息内容
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 获取：消息内容
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 设置：朋友圈位置
	 */
	public void setLocation(String location) {
		this.location = location;
	}
	/**
	 * 获取：朋友圈位置
	 */
	public String getLocation() {
		return location;
	}
	/**
	 * 设置：创建时间
	 */
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getAddTime() {
		return addTime;
	}
	/**
	 * 设置：点赞数
	 */
	public void setLikeCount(Integer likeCount) {
		this.likeCount = likeCount;
	}
	/**
	 * 获取：点赞数
	 */
	public Integer getLikeCount() {
		return likeCount;
	}
	public ArrayList<MessagePicDO> getPicUrls() {
		return picUrls;
	}
	public void setPicUrls(ArrayList<MessagePicDO> picUrls) {
		this.picUrls = picUrls;
	}
	public ArrayList<FriendCircleCommentDO> getComments() {
		return comments;
	}
	public void setComments(ArrayList<FriendCircleCommentDO> comments) {
		this.comments = comments;
	}
	public int getCnums() {
		return cnums;
	}
	public void setCnums(int cnums) {
		this.cnums = cnums;
	}
	public String getTimeBefore() {
		return timeBefore;
	}
	public void setTimeBefore(String timeBefore) {
		this.timeBefore = timeBefore;
	}
	
	
	
   
	
    
	
	
	
	
}
